/*
package com.sky.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;

@Aspect
@Component
@Slf4j
public class CacheAdvice {
    @Autowired
    private RedisTemplate redisTemplate;
    */
/**
     * 添加缓存
     *//*

    @Around("@annotation(com.sky.anno.PutCache)")
    public Object putCache(ProceedingJoinPoint pjp){
        log.info("添加缓存");
        //1.查询缓存
        //2.判断缓存是否存在
        //存在，直接返回
        //不存在，调用目标方法，获取结果
        return null;
    }
    */
/**
     * 清理缓存
     *//*

    @AfterReturning("@annotation(com.sky.anno.ClearCache)")
    public Object clearCache(ProceedingJoinPoint pjp){
        log.info("清理缓存");
        return null;
    }
}
*/
